Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@yufengwng
yufengwng / arch_cheatsheet.txt
Last active June 10, 2026 20:25
Arch Linux Commands Cheatsheet
pacman
======
view logs: /var/log/pacman.log
update system
# pacman -Syu
list installed packages
# pacman -Q
@eylenburg
eylenburg / msoffice_in_linux.md
Last active June 10, 2026 20:24
Installing Microsoft Office in Linux

Step by step guide: How to install Microsoft Office in any Linux distribution

There are multiple options how to install MS Office on Linux.

VM-based - Integrate Windows apps running in a Windows virtual machine as native-looking in Linux

  1. LinOffice - Microsoft Office Launcher for Linux, my own fork of Winapps which is focused on only running Microsoft Office, with some Office-specific improvements over Winapps and a fully automated setup. Eventually I would like to create a GUI for it. Decribed below
  2. Winapps, based on KVM, QEMU, Docker/Podman and FreeRDP. Still actively maintained (getting Github commits). Decribed below
  3. Cassowary, based on KVM, QEMU, libvirt/virt-manager, and FreeRDP. Last release in Feb 2022 and seems to be abandoned.
# Prompt Para Replicar A Arquitetura Da SPA
Você é um arquiteto sênior de frontend. Sua tarefa é criar uma nova single page application com uma arquitetura **praticamente idêntica** à arquitetura descrita abaixo, mas **sem copiar nenhuma regra de negócio**, nomenclatura de domínio, fluxos específicos do produto original ou qualquer texto/fonte do projeto de origem.
O objetivo é reproduzir somente o **blueprint técnico e organizacional**:
- stack
- estrutura de pastas
- camadas
- convenções
@shiningflash
shiningflash / advance_pydantic.md
Created March 23, 2024 17:25
Advanced Pydantic Usage Guide

Advanced Pydantic Usage Guide

Introduction

This guide explores advanced features of Pydantic, a powerful library for data validation and settings management in Python, leveraging type annotations. Aimed at enhancing backend development, it covers complex usage patterns, custom validation techniques, and integration strategies.

For basic user guide, follow the official documentation.

Custom Validators

@ReyArlena
ReyArlena / disable-usb-auto-suspend.md
Created January 31, 2026 22:11
Disable USB Autosuspend Completely in CachyOS

Step 1: Disable with Persistent Kernel Parameters (CachyOS + Limine)

Safety net timeout in case other methods fail.

Check current config

cat /etc/default/limine

Edit the file

@talkingmoose
talkingmoose / Golden Gate-compatible Macs (regex)
Last active June 10, 2026 20:16
Regex looks for all Mac models compatible with macOS Golden Gate 27. May not be up-to-date with newly released models.
https://www.apple.com/os/macos/
Published Date: June 8, 2026
Updated: June 10, 2026
Verification: https://regex101.com/r/GRwi7n/3
1) Exact regex — Matches major model identifier numbers based on Apple's knowledge base article (more accurate):
^(Mac(BookPro1[78]|1[3-7]|BookAir10|mini9),\d+|iMac21,\d+)$
@kibotu
kibotu / INSTALL.md
Last active June 10, 2026 20:15
How to Run Qwen3.5 Locally With Claude Code (No API Bills, Full Agentic Coding)

Run Qwen 3.5 Locally with Claude Code — Zero API Bills, Full Agentic Coding

Your Mac has a GPU. Your Mac has RAM. Why are you paying someone else to think?

This guide gets you a fully local agentic coding setup: Claude Code talking to Qwen 3.5-35B-A3B via llama.cpp, all running on your Apple Silicon Mac. No API keys. No cloud. No surprise invoices. Just you, your M-series chip, and 35 billion parameters doing your bidding on localhost.

Based on this article.


@hazycora
hazycora / youtube-subscription-csv-export.md
Last active June 10, 2026 20:10
Export YouTube subscriptions in CSV Google Takeout format.

Go to youtube.com/feed/channels

The page should display a list of your YouTube subscriptions. Run the following JavaScript in the console. Your YouTube subscriptions will be displayed on screen for you to copy-paste.

This CSV response can be saved and imported into other apps which can load Google Takeout subscription files, such as NewPipe.